projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fea50b8
)
Fix ioemu compile: serial.c was including a Linux-specific header.
author
Keir Fraser
<keir.fraser@citrix.com>
Fri, 7 Dec 2007 00:41:54 +0000
(
00:41
+0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Fri, 7 Dec 2007 00:41:54 +0000
(
00:41
+0000)
Signed-off-by: John Levon <john.levon@sun.com>
tools/ioemu/hw/serial.c
patch
|
blob
|
history
diff --git
a/tools/ioemu/hw/serial.c
b/tools/ioemu/hw/serial.c
index eefb9651b1bba7bd739a827c845aa146620fd92f..f66f0a1b3b41d3bd1822d2b89d469ac67d81cfa4 100644
(file)
--- a/
tools/ioemu/hw/serial.c
+++ b/
tools/ioemu/hw/serial.c
@@
-26,10
+26,16
@@
#include <sys/time.h>
#include <time.h>
#include <assert.h>
-#include <asm/termios.h>
//#define DEBUG_SERIAL
+#define TIOCM_DTR 0x002
+#define TIOCM_RTS 0x004
+#define TIOCM_CTS 0x020
+#define TIOCM_CAR 0x040
+#define TIOCM_RI 0x080
+#define TIOCM_DSR 0x100
+
#define UART_LCR_DLAB 0x80 /* Divisor latch access bit */
#define UART_IER_MSI 0x08 /* Enable Modem status interrupt */